docs: center the guide footer navigation on a single line#32
Merged
Conversation
GitHub sizes tables to their content (CSS width: max-content) and strips inline styles, so the previous full-width three-column table just clustered the links on the left instead of spreading them. Replace it with a single centered line — "← Previous · ↑ Table of contents · Next →" — wrapped in <div align="center">, which GitHub honours. Pages without a previous or next section simply omit that link. Applied to all 13 English and 13 French guides. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H9NgkaNi3rGuHrSzgbgAXP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the footer layout introduced in #31. That version used a full-width HTML table to place previous / table-of-contents / next on the left, center and right — but GitHub sizes tables to their content (
table { width: max-content }in its own stylesheet) and strips inlinestyleattributes, so the table never expanded and the three links just clustered on the left instead of spreading out.A true edge-to-edge left/right spread isn't achievable in GitHub's Markdown rendering. This PR uses what GitHub does honour —
<div align="center">— to present the navigation as a single, centered line:Changes
<table width="100%">block with a centered<div align="center">single line on every guide page.🤖 Generated with Claude Code
https://claude.ai/code/session_01H9NgkaNi3rGuHrSzgbgAXP
Generated by Claude Code